package xworker.javafx.control;

import javafx.scene.control.ButtonBase;
import org.xmeta.ActionContext;
import org.xmeta.Thing;
import xworker.javafx.beans.property.PropertyFactory;

public class ButtonBaseActions {
	static{
		PropertyFactory.regist(ButtonBase.class, "onActionProperty", o -> {
			ButtonBase obj = (ButtonBase) o;
			return obj.onActionProperty();
		});
	}

	public static void init(ButtonBase button, Thing thing, ActionContext actionContext) {
		 LabeledActions.init(button, thing, actionContext);
	}
}
